package otaku.gateway.core;

import io.netty.handler.codec.http.FullHttpRequest;

import java.net.InetSocketAddress;
import java.util.List;

/**
 * 根据request判断是否匹配，如果匹配则继续处理request
 */
public interface UpstreamRequestMatcher {
    boolean match(FullHttpRequest request);

    List<InetSocketAddress> getUpstreamTargets();
}
